package com.brainhealth.common.enums;

/**
 * 订单支付类型枚举
 */
public enum PayType implements BaseEnum
{
    Wechat(0, "微信"), Alipay(1, "支付宝"), BankPay(2, "银行卡"), OtherPay(3, "其他支付"),Experience5(4,"5天体验支付"), ScorePay(5,"积分支付");
    private final int code;
    private final String info;

    PayType(int code, String info)
    {
        this.code = code;
        this.info = info;
    }

    public int getCode()
    {
        return code;
    }

    public String getInfo()
    {
        return info;
    }

    @Override
    public Integer getValue()
    {
        return code;
    }
}
